.class Lcom/netease/newsreader/util/myPreference$2;
.super Ljava/lang/Object;
.source "myPreference.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/netease/newsreader/util/myPreference;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/netease/newsreader/util/myPreference;


# direct methods
.method constructor <init>(Lcom/netease/newsreader/util/myPreference;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    iput-object p1, p0, Lcom/netease/newsreader/util/myPreference$2;->this$0:Lcom/netease/newsreader/util/myPreference;

    .line 188
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 3
    .parameter "v"

    .prologue
    const/4 v2, 0x1

    .line 193
    check-cast p1, Landroid/widget/RelativeLayout;

    .end local p1
    invoke-virtual {p1, v2}, Landroid/widget/RelativeLayout;->getChildAt(I)Landroid/view/View;

    move-result-object v0

    .line 194
    .local v0, view:Landroid/view/View;
    instance-of v1, v0, Landroid/widget/CheckBox;

    if-eqz v1, :cond_2

    move-object v1, v0

    .line 195
    check-cast v1, Landroid/widget/CheckBox;

    invoke-virtual {v1}, Landroid/widget/CheckBox;->isChecked()Z

    move-result v1

    if-eqz v1, :cond_1

    .line 196
    check-cast v0, Landroid/widget/CheckBox;

    .end local v0           #view:Landroid/view/View;
    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/CheckBox;->setChecked(Z)V

    .line 207
    :cond_0
    :goto_0
    return-void

    .line 198
    .restart local v0       #view:Landroid/view/View;
    :cond_1
    check-cast v0, Landroid/widget/CheckBox;

    .end local v0           #view:Landroid/view/View;
    invoke-virtual {v0, v2}, Landroid/widget/CheckBox;->setChecked(Z)V

    goto :goto_0

    .restart local v0       #view:Landroid/view/View;
    :cond_2
    move-object v1, v0

    .line 201
    check-cast v1, Landroid/widget/RadioButton;

    invoke-virtual {v1}, Landroid/widget/RadioButton;->isChecked()Z

    move-result v1

    if-nez v1, :cond_0

    .line 204
    check-cast v0, Landroid/widget/RadioButton;

    .end local v0           #view:Landroid/view/View;
    invoke-virtual {v0, v2}, Landroid/widget/RadioButton;->setChecked(Z)V

    goto :goto_0
.end method
